//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.ruoyi.live.base.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.OrderBy;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

public class LiveProductSource implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(
            value = "id",
            type = IdType.AUTO
    )
    private Long id;
    private Integer state;
    @OrderBy
    private Long createTime;
    private Long createUser;
    private String sourceName;
    private String sourceExt;
    private String sourceFolder;
    private String sourceStoreName;
    private Long productId;
    private Integer sourceType;
    private Integer width;
    private Integer height;
    private Integer section;
    private Integer answer;
    private Integer first;

    public LiveProductSource() {
    }

    public Long getId() {
        return this.id;
    }

    public Integer getState() {
        return this.state;
    }

    public Long getCreateTime() {
        return this.createTime;
    }

    public Long getCreateUser() {
        return this.createUser;
    }

    public String getSourceName() {
        return this.sourceName;
    }

    public String getSourceExt() {
        return this.sourceExt;
    }

    public String getSourceFolder() {
        return this.sourceFolder;
    }

    public String getSourceStoreName() {
        return this.sourceStoreName;
    }

    public Long getProductId() {
        return this.productId;
    }

    public Integer getSourceType() {
        return this.sourceType;
    }

    public Integer getWidth() {
        return this.width;
    }

    public Integer getHeight() {
        return this.height;
    }

    public Integer getSection() {
        return this.section;
    }

    public Integer getAnswer() {
        return this.answer;
    }

    public Integer getFirst() {
        return this.first;
    }

    public LiveProductSource setId(final Long id) {
        this.id = id;
        return this;
    }

    public LiveProductSource setState(final Integer state) {
        this.state = state;
        return this;
    }

    public LiveProductSource setCreateTime(final Long createTime) {
        this.createTime = createTime;
        return this;
    }

    public LiveProductSource setCreateUser(final Long createUser) {
        this.createUser = createUser;
        return this;
    }

    public LiveProductSource setSourceName(final String sourceName) {
        this.sourceName = sourceName;
        return this;
    }

    public LiveProductSource setSourceExt(final String sourceExt) {
        this.sourceExt = sourceExt;
        return this;
    }

    public LiveProductSource setSourceFolder(final String sourceFolder) {
        this.sourceFolder = sourceFolder;
        return this;
    }

    public LiveProductSource setSourceStoreName(final String sourceStoreName) {
        this.sourceStoreName = sourceStoreName;
        return this;
    }

    public LiveProductSource setProductId(final Long productId) {
        this.productId = productId;
        return this;
    }

    public LiveProductSource setSourceType(final Integer sourceType) {
        this.sourceType = sourceType;
        return this;
    }

    public LiveProductSource setWidth(final Integer width) {
        this.width = width;
        return this;
    }

    public LiveProductSource setHeight(final Integer height) {
        this.height = height;
        return this;
    }

    public LiveProductSource setSection(final Integer section) {
        this.section = section;
        return this;
    }

    public LiveProductSource setAnswer(final Integer answer) {
        this.answer = answer;
        return this;
    }

    public LiveProductSource setFirst(final Integer first) {
        this.first = first;
        return this;
    }

    public String toString() {
        return "LiveProductSource(id=" + this.getId() + ", state=" + this.getState() + ", createTime=" + this.getCreateTime() + ", createUser=" + this.getCreateUser() + ", sourceName=" + this.getSourceName() + ", sourceExt=" + this.getSourceExt() + ", sourceFolder=" + this.getSourceFolder() + ", sourceStoreName=" + this.getSourceStoreName() + ", productId=" + this.getProductId() + ", sourceType=" + this.getSourceType() + ", width=" + this.getWidth() + ", height=" + this.getHeight() + ", section=" + this.getSection() + ", answer=" + this.getAnswer() + ", first=" + this.getFirst() + ")";
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof LiveProductSource)) {
            return false;
        } else {
            LiveProductSource other = (LiveProductSource)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label191: {
                    Object this$id = this.getId();
                    Object other$id = other.getId();
                    if (this$id == null) {
                        if (other$id == null) {
                            break label191;
                        }
                    } else if (this$id.equals(other$id)) {
                        break label191;
                    }

                    return false;
                }

                Object this$state = this.getState();
                Object other$state = other.getState();
                if (this$state == null) {
                    if (other$state != null) {
                        return false;
                    }
                } else if (!this$state.equals(other$state)) {
                    return false;
                }

                Object this$createTime = this.getCreateTime();
                Object other$createTime = other.getCreateTime();
                if (this$createTime == null) {
                    if (other$createTime != null) {
                        return false;
                    }
                } else if (!this$createTime.equals(other$createTime)) {
                    return false;
                }

                label170: {
                    Object this$createUser = this.getCreateUser();
                    Object other$createUser = other.getCreateUser();
                    if (this$createUser == null) {
                        if (other$createUser == null) {
                            break label170;
                        }
                    } else if (this$createUser.equals(other$createUser)) {
                        break label170;
                    }

                    return false;
                }

                label163: {
                    Object this$sourceName = this.getSourceName();
                    Object other$sourceName = other.getSourceName();
                    if (this$sourceName == null) {
                        if (other$sourceName == null) {
                            break label163;
                        }
                    } else if (this$sourceName.equals(other$sourceName)) {
                        break label163;
                    }

                    return false;
                }

                Object this$sourceExt = this.getSourceExt();
                Object other$sourceExt = other.getSourceExt();
                if (this$sourceExt == null) {
                    if (other$sourceExt != null) {
                        return false;
                    }
                } else if (!this$sourceExt.equals(other$sourceExt)) {
                    return false;
                }

                Object this$sourceFolder = this.getSourceFolder();
                Object other$sourceFolder = other.getSourceFolder();
                if (this$sourceFolder == null) {
                    if (other$sourceFolder != null) {
                        return false;
                    }
                } else if (!this$sourceFolder.equals(other$sourceFolder)) {
                    return false;
                }

                label142: {
                    Object this$sourceStoreName = this.getSourceStoreName();
                    Object other$sourceStoreName = other.getSourceStoreName();
                    if (this$sourceStoreName == null) {
                        if (other$sourceStoreName == null) {
                            break label142;
                        }
                    } else if (this$sourceStoreName.equals(other$sourceStoreName)) {
                        break label142;
                    }

                    return false;
                }

                label135: {
                    Object this$productId = this.getProductId();
                    Object other$productId = other.getProductId();
                    if (this$productId == null) {
                        if (other$productId == null) {
                            break label135;
                        }
                    } else if (this$productId.equals(other$productId)) {
                        break label135;
                    }

                    return false;
                }

                Object this$sourceType = this.getSourceType();
                Object other$sourceType = other.getSourceType();
                if (this$sourceType == null) {
                    if (other$sourceType != null) {
                        return false;
                    }
                } else if (!this$sourceType.equals(other$sourceType)) {
                    return false;
                }

                label121: {
                    Object this$width = this.getWidth();
                    Object other$width = other.getWidth();
                    if (this$width == null) {
                        if (other$width == null) {
                            break label121;
                        }
                    } else if (this$width.equals(other$width)) {
                        break label121;
                    }

                    return false;
                }

                Object this$height = this.getHeight();
                Object other$height = other.getHeight();
                if (this$height == null) {
                    if (other$height != null) {
                        return false;
                    }
                } else if (!this$height.equals(other$height)) {
                    return false;
                }

                label107: {
                    Object this$section = this.getSection();
                    Object other$section = other.getSection();
                    if (this$section == null) {
                        if (other$section == null) {
                            break label107;
                        }
                    } else if (this$section.equals(other$section)) {
                        break label107;
                    }

                    return false;
                }

                Object this$answer = this.getAnswer();
                Object other$answer = other.getAnswer();
                if (this$answer == null) {
                    if (other$answer != null) {
                        return false;
                    }
                } else if (!this$answer.equals(other$answer)) {
                    return false;
                }

                Object this$first = this.getFirst();
                Object other$first = other.getFirst();
                if (this$first == null) {
                    if (other$first != null) {
                        return false;
                    }
                } else if (!this$first.equals(other$first)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof LiveProductSource;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $id = this.getId();
        int result1 = result * 59 + ($id == null ? 43 : $id.hashCode());
        Object $state = this.getState();
        result1 = result * 59 + ($state == null ? 43 : $state.hashCode());
        Object $createTime = this.getCreateTime();
        result1 = result * 59 + ($createTime == null ? 43 : $createTime.hashCode());
        Object $createUser = this.getCreateUser();
        result1 = result * 59 + ($createUser == null ? 43 : $createUser.hashCode());
        Object $sourceName = this.getSourceName();
        result1 = result * 59 + ($sourceName == null ? 43 : $sourceName.hashCode());
        Object $sourceExt = this.getSourceExt();
        result1 = result * 59 + ($sourceExt == null ? 43 : $sourceExt.hashCode());
        Object $sourceFolder = this.getSourceFolder();
        result1 = result * 59 + ($sourceFolder == null ? 43 : $sourceFolder.hashCode());
        Object $sourceStoreName = this.getSourceStoreName();
        result1 = result * 59 + ($sourceStoreName == null ? 43 : $sourceStoreName.hashCode());
        Object $productId = this.getProductId();
        result1 = result * 59 + ($productId == null ? 43 : $productId.hashCode());
        Object $sourceType = this.getSourceType();
        result1 = result * 59 + ($sourceType == null ? 43 : $sourceType.hashCode());
        Object $width = this.getWidth();
        result1 = result * 59 + ($width == null ? 43 : $width.hashCode());
        Object $height = this.getHeight();
        result1 = result * 59 + ($height == null ? 43 : $height.hashCode());
        Object $section = this.getSection();
        result1 = result * 59 + ($section == null ? 43 : $section.hashCode());
        Object $answer = this.getAnswer();
        result1 = result * 59 + ($answer == null ? 43 : $answer.hashCode());
        Object $first = this.getFirst();
        result1 = result * 59 + ($first == null ? 43 : $first.hashCode());
        return result1;
    }
}
